<!DOCTYPE html>
<html>
    <head>

    </head>
    <body>
        <a href="data:text/plain,AABBCCDD" download="download.txt" id="download">download data uri file</a>
    </body>
</html>